<html>

<head>
    <meta charset="UTF-8">
    <title>用户上传</title>
    <link type="text/css" rel="stylesheet" href="./css/global.css">
    <link type="text/css" rel="stylesheet" href="./css/form.css">
    <link type="text/css" rel="stylesheet" href="./css/validation.css">
    <script src="./js/jquery-3.1.1.min.js"></script>
    <script src="./js/validation/validation/jquery.validate.js"></script>
    <script src="./js/validation/validation/additional-methods.js"></script>
    <script src="./js/validation/validation/localization/messages_zh.js"></script>
    <script type="text/javascript" charset="UTF-8" src="./js/upload.js"></script>
</head>

<body>
    <div class="topbanner bgblack"></div>
    <div class="menu">
        <ul>
            <li><a href="index.html">首页</a> </li>
            <li><a href="content.html">内容页</a></li>
            <li><a href="#">注册页</a></li>
            <li><a href="list.html">列表页</a></li>
        </ul>
    </div>
    <div class="form">
        <form id="registerform" method="POST" action="savefile.py" enctype="multipart/form-data">
            <div class="frmline">
                <div class="frmleft">&nbsp;</div>
                <div class="frmright">
                    <h3>上传文件</h3>
                </div>
            </div>
            <div class="frmline">
                <div class="frmleft">文件标题：</div>
                <div class="frmright"><input type="text" id="filetitle" name="filetitle" maxlength="20" />
                    <div class="error" style="display: none;"><img src="./images/unchecked.gif" width="14" height="14"></div>
                    <div class="success" style="display: none;"><img src="./images/checked.gif" width="14" height="14"></div>
                </div>
            </div>
            <div class="frmline">
                <div class="frmleft">选择文件：</div>
                <div class="frmright"><input type="file" id="userimg" name="userimg" accept="image/*" />
                    <div class="error" style="display: none;"><img src="./images/unchecked.gif" width="14" height="14"></div>
                    <div class="success" style="display: none;"><img src="./images/checked.gif" width="14" height="14"></div>
                </div>
            </div>
            <div class="frmline">
                <div class="frmleft">文件说明：</div>
                <div class="frmright">
                    <textarea id="description" name="description" class="descript"></textarea>

                </div>
            </div>
            <div class="frmline">
                <div class="frmleft">&nbsp;</div>
                <div class="frmright">
                    <input type="submit" class="class" id="butsub" value="提交">
                    <input type="reset" value="重置">
                </div>
            </div>
        </form>
    </div>
    <div class="bottom">
        <div class="bottom-top">☆极客晨星☆ Python Web开发实战培训</div>
        <div class="bottom-content">冀ICP 000000000号</div>
        <div class="bottom-bottom">2020.8 张家口</div>
    </div>
    <!--<div class="fixbutton"><button id="fixbutton" onclick="sayhello();">你好！</button></div>-->
</body>

</html>